package com.macro.mall.tiny.modules.ums.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.tiny.modules.ums.model.Group;
import com.macro.mall.tiny.modules.ums.model.UmsAdmin;
import io.lettuce.core.dynamic.annotation.Param;

/**
* @author tuouren
* @description 针对表【tb_grade_group(小组表)】的数据库操作Mapper
* @createDate 2022-03-24 14:11:45
* @Entity generator.domain.Group
*/
public interface GroupMapper extends BaseMapper<Group> {



    /**
     * 获取当前登陆用户的小组名称
     * @param username
     * @return
     */
    Group getGroup( @Param("username") String username);
}
